package com.qqtech.qquan.sales.model;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.common.util.TimeUtil;

@SuppressWarnings("serial")
public class SalesBaseVo extends SalesBase{
	//店铺名称
	private String shopName;
	
	public String getShopName() {
		return shopName;
	}
	public void setShopName(String shopName) {
		this.shopName = shopName;
	}
	public String getStrStartAt() {
		return TimeUtil.getStringTimeByFormat(this.getStartAt(), "yyyy-MM-dd HH:mm");
	}
	public String getStrEndAt() {
		return TimeUtil.getStringTimeByFormat(this.getEndAt(), "yyyy-MM-dd HH:mm");
	}
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}